<!--{template common/header}-->
<link rel="stylesheet" type="text/css" href="{$_G['siteurl']}source/plugin/jameson_read/images/uk3/css/uikit.css?version=988">
<link rel="stylesheet" href="{$_G['siteurl']}source/plugin/jameson_read/template/gjj/gjj.css?version=988">
{if file_exists('./source/plugin/jameson_read/template/zdy.css')}
<link rel="stylesheet" href="{$_G['siteurl']}source/plugin/jameson_read/template/zdy.css?version=988">
{/if}
<style type="text/css">
    {if $_G['jameson_read']['maxwidth']>=960}
        #jamesonreadwrap{padding:0 {$_G['jameson_read']['pcpadding']}px 10px;max-width: {$_G['jameson_read']['maxwidth']}px}
    {/if}
    .none{display:none!important}
</style>
<div id="jamesonreadwrap">
<div id="jameson_read" class="jameson_read uk-margin-bottom">
<nav class="uk-navbar-container mb10 uk-padding-remove topnav back-box none jamesonread_lazyload" uk-navbar>
    <div class="uk-navbar-left">
        <a class="uk-button uk-button-trans pl5">
		<span uk-icon="icon:list"></span>
        {lang jameson_read:quanbu}{lang jameson_read:fenlei}</a>
        <div id="uk-searchbar" uk-dropdown="pos: bottom-left; boundary: .uk-navbar-left; boundary-align: true">
            <ul class="uk-nav uk-dropdown-nav">
            	<!--{loop $categorys $rootkey $root}-->
                <li class="uk-nav-header">
                	<h4 class="uk-heading-divider mbm">
                		<span>
		                	<a href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$root['category_id']);}" class=""><!--{$root['category_name']}--></a>
                		</span>
                	</h4>
                </li>
                <li>
                	<!--{loop $root['sub'] $key $value}-->
						<a class="uk-button" href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$value['category_id']);}">
                        <!--{$value['category_name']}-->
                        </a>
                	{/loop}
                </li>
                {/loop}
            </ul>
        </div>
        <div class="">
            <form id="searchform" class="uk-search uk-search-navbar xs2" action="./plugin.php">
                <a href="javascript:jameson.search();" class="uk-search-icon-flip xs2" uk-search-icon style="width: 20px;right: 5px;"></a>
                <input class="uk-search-input xs2" style="height: 35px;border:1px solid #f4f5f6;margin: 5px 0;" name="keyword" id="sousuokey" type="search" value="{if $keyword}{$keyword}{elseif $_G['jameson_read']['resou'][0]}{$_G['jameson_read']['resou'][0]}{/if}" placeholder="{lang jameson_read:qsrsmsstouch}" autofocus>
                <input type="hidden" name="id" value="jameson_read">
                <input type="hidden" name="contrl" value="index">
                <input type="hidden" name="act" value="search">
            </form>
        </div>
    </div>
    <div class="uk-navbar-right">
    		{if $_G['jameson_read']['allowpostbook']}
    	    <a class="uk-button pl5 pr5 xs2" href="{eval echo jamesonurl('author',0,'index')}">{lang jameson_read:zuozhezhongxin}</a>
    	    {else}
    	    	<a class="uk-button pr5 pl5 xs2" href="{eval echo jamesonurl('shenqing',0,0)}">{lang jameson_read:shenqingzuozhe}</a>
    		{/if}
    		<a class="uk-button pl5 pr5 xs2" href="{eval echo jamesonurl('shaixuan',0,0)}">{lang jameson_read:shaixuan}</a>
    		<a class="uk-button pl5 pr5 xs2" href="{eval echo jamesonurl('paihang',0,0)}">{lang jameson_read:paihangbang}</a>
    		<a class="uk-button pl5 pr5 xs2" href="{eval echo jamesonurl('bookstore',0,0)}">{lang jameson_read:shujia}</a>
    </div>
</nav>